import ajax from './ajax'
import mockAjax from '@/mock/mockAjax'
export const reqCategoryListData = () => ajax.get('/api/product/getBaseCategoryList')

//发送请求，获取banner的mock数据
export const reqBannerListData = () => mockAjax.get('/banner')

//发送请求，获取floor的mock数据
export const reqFloorListData = () => mockAjax.get('/floor')

//发送请求，获取search页面的数据
export const reqSearchGoodsInfo = (searchParams) => ajax.post('/api/list',searchParams)